import { post,get } from '@/utils/request'

export default {
  pageList: query => post('/api/admin/message/select', query),
  send: query => post('/api/admin/message/add/reply', query),
  deleteTask: messageId => post('api/admin/message/delect/' + messageId),
  findByPid: id=>get(`/api/admin/message/datail?id=${id}`)
}
